package org.jeecg.modules.classrooms.classroomsUse.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: classrooms_use
 * @Author: jeecg-boot
 * @Date:   2020-05-22
 * @Version: V1.0
 */
@Data
@TableName("classrooms_use")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="classrooms_use对象", description="classrooms_use")
public class ClassroomsUse implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id id")
    private String id;
	/**教室id*/
	@Excel(name = "教室id", width = 15)
    @ApiModelProperty(value = "教室id")
    private String classroomsId;
	/**教室状态*/
	@Excel(name = "教室状态", width = 15)
    @ApiModelProperty(value = "教室状态")
    @Dict(dicCode = "classrooms_status")
    private String classroomsStatus;
    /**教室编号*/
    @Excel(name = "教室编号", width = 15)
    @ApiModelProperty(value = "教室编号")
    @TableField(exist = false )
    private String classroomsNumber;
	/**教室使用人*/
	@Excel(name = "教室使用人", width = 15)
    @ApiModelProperty(value = "教室使用人")
    private String classroomsUsername;
	/**教室用至时间*/
	@Excel(name = "教室用至时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "教室用至时间")
    private Date classroomsEnd;
    /**教室使用开始时间*/
    @Excel(name = "教室使用开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "教室使用开始时间")
    private Date startTime;
	/**是否过期*/
	@Excel(name = "是否过期", width = 15)
    @ApiModelProperty(value = "是否过期")
    private String isok;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
